home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 3453 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  759 b 

  1. From: WileE@msn.com (Christopher  )
  2. Subject: HELP! VC++ 4.0 from 2.0
  3. Date: 24 Jan 96 03:57:00 -0800
  4. Message-ID: <00001a81+000092b4@msn.com>
  5. Path: news.msn.com!msn.com
  6. Newsgroups: comp.lang.c++
  7. Organization: The Microsoft Network (msn.com)
  8.  
  9. I have a program which compiled and worked under Visual C++ 2.0, now 
  10. when compiling under 4.0 I get the message :
  11.  
  12. error : WinMain redefinition;
  13.  
  14. or somthing simular caused by the following line :
  15.  
  16. int WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR 
  17. lpCmdLine, int nCmdShow);
  18.  
  19. This is my first time trying to use Visual C++ 4.0 without using the 
  20. application wizard.  How can I get this program from 2.0 to run?
  21.  
  22. thanks in advance for any help,
  23.  
  24. Chris DeCock
  25. WileE@msn.com
  26.  
  27. please reply to e-mail.
  28. thanks
  29.